<template>
  <div class="wraps">
    <img src="../../../../assets/images/scan.png" alt="" class="scanImg" />
    <span>{{ titleText }}</span>
    <img
      src="../../../../assets/images/titleLine.png"
      alt=""
      class="titleLine"
    />
  </div>
</template>

<script>
export default {
  name: "CommonTitle",
  props: {
    titleText: {
      type: String,
      default: "",
    },
  },
  methods: {
    
  },
};
</script>
<style lang="less">
.wraps {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 12px;
  padding-left: 4px;
  box-sizing: border-box;
  position: relative;
  background: rgba(0, 0, 0, 0.30000001192092896);
  .scanImg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }
  .titleLine {
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
  }
}
</style>